
#include <iostream>
using namespace std;
namespace CWARN_DTOR_NONVIRT_NOTEMPTY {

	class A
	{
	public:

		~A() { std::cout << "I am A" << std::endl; }
		virtual void f1();
	};

	class B : public A
	{
	public:

		~B() { cout << "I am B" << endl; }
		virtual void f1();
	};
}